package com.zzl.car.mapper;

import com.zzl.car.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    public User getUserByLogin(@Param("telephone")String telephone, @Param("password")String password);
    public Integer insertUser(@Param("telephone")String telephone,
                              @Param("password")String password,
                              @Param("email")String email,
                              @Param("loveCarSocre")Integer loveCarScore);
    public User getUserTelephoneByTelephone(String telephone);

    public User getUserAllByTelephone(String telephone);

    public Integer updateUser(User user);

}
